var hash = window.location.hash, start = new Date();
$(function() {
	window.mainpage.instMainMenus();
    window.mainpage.instTimerSpan();
    window.mainpage.bindNavTabsButtonEvent();
    window.mainpage.bindToolbarButtonEvent();
    window.mainpage.bindMainTabsButtonEvent();

    var layout = $("#mainLayout");

    $.util.exec(function () {
        layout.removeClass("hidden").layout("resize");

        $("#maskContainer").remove();

        layout.layout("collapse", "east");
        $(westLayout).layout("resize");
        
        window.mainpage.mainTabs.loadHash(hash);
        
    });
	
});

